
public abstract class User 
{
	private String name;
	private String username;
	private String password;
	private String type;
	private boolean status;
	
	public User(String name, String username, String password)
	{
		this.name = name;
		this.username = username;
		this.password = password;
		if(this instanceof Admin)
			type = "Admin";
		else if(this instanceof Instructor)
			type = "Instructor";
		else
			type = "Student";
		status = true;
	}
	
	public boolean login(String username, String password)
	{
		return false;
	}
	
	public void changeStatus()
	{
		status = !status;
	}
	
}
